package com.moleq.mgnetwork;

import java.util.List;

import com.moleq.model.NetWorkSetting;

public class CommTask {

	private String ipAddress;
	private int station;
	private String createDateTime;
	private String dbStructure;
	private List<String> actions;

	public String getIpAddress() {
		return ipAddress;
	}

	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}

	public String getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(String createDateTime) {
		this.createDateTime = createDateTime;
	}

	public List<String> getActions() {
		return actions;
	}

	public void setActions(List<String> actions) {
		this.actions = actions;
	}

	public String getDbStructure() {
		return dbStructure;
	}

	public void setDbStructure(String dbStructure) {
		this.dbStructure = dbStructure;
	}

	public int getStation() {
		return station;
	}

	public void setStation(int station) {
		this.station = station;
	}

	public NetWorkSetting toNetworkSetting() {
		NetWorkSetting setting = null;
		
		if (actions != null) {
			for (int i = 0; i < actions.size(); i++) {
				// parser all data to 
			}
		}
		return setting;
	}
	
}
